<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SSDP Help: D:/doxy/PublicAPI/ATShow/LocateSubEntityTool.h 源文件</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SSDP Help<span id="projectnumber">&#160;2.04.01</span>
   </div>
   <div id="projectbrief">仅供测试</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.3 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',false,false,'search.php','搜索');
});
/* @license-end */
</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_52a01df1794e5beec01860bdd05aea48.html">PublicAPI</a></li><li class="navelem"><a class="el" href="../../dir_2c7c15ad4bd11394c0177d8270213eb9.html">ATShow</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle"><div class="title">LocateSubEntityTool.h</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span> </div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span>BEGIN_ATEC_ATDATACORE_NAMESPACE</div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span> </div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="keyword">typedef</span> RefCountedPtr&lt;IRefCounted&gt; IObjectGraphicsPtr;</div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span> </div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"><a class="line" href="../../dc/df1/struct_object_graphics_cmd.html">   13</a></span><span class="keyword">struct </span><a class="code hl_struct" href="../../dc/df1/struct_object_graphics_cmd.html">ObjectGraphicsCmd</a> : <a class="code hl_struct" href="../../dc/df8/struct_a_t_object_set_cmd.html">ATObjectSetCmd</a></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span>{</div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span>    DEFINE_T_SUPER(<a class="code hl_struct" href="../../dc/df8/struct_a_t_object_set_cmd.html">ATObjectSetCmd</a>)</div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span> </div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span>    <span class="keywordtype">int</span>  m_resrvedElmGrph[8];</div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span> </div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span><span class="keyword">protected</span>:</div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span> </div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span>    xvector&lt;ObjectRefP&gt;  m_graphicsCache;</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span> </div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> _CollectCurves() { <span class="keywordflow">return</span> <span class="keyword">true</span>; }</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> _CollectSurfaces() { <span class="keywordflow">return</span> <span class="keyword">true</span>; }</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> _CollectSolids() { <span class="keywordflow">return</span> <span class="keyword">true</span>; }</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> _CollectTextBoundaries() { <span class="keywordflow">return</span> <span class="keyword">false</span>; }</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> _CollectComplexComponents() { <span class="keywordflow">return</span> ComponentMode::None != _GetComponentMode(); }</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span>    <span class="keyword">virtual</span> DrawPurpose _GetCollectDrawPurpose() { <span class="keywordflow">return</span> DrawPurpose::CaptureGeometry; }</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span> </div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"><a class="line" href="../../dc/df1/struct_object_graphics_cmd.html#aa26dfae0aee0a4d430deb489caa75c71">   42</a></span>    ATVIEW_EXP ATECStatus <a class="code hl_function" href="../../dc/df1/struct_object_graphics_cmd.html#aa26dfae0aee0a4d430deb489caa75c71">GetObjectGraphicsCache</a>(HATObjectCR objHd, xvector&lt;IObjectGraphicsPtr&gt;&amp; geomCache);</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span> </div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"><a class="line" href="../../dc/df1/struct_object_graphics_cmd.html#a6d4eac781d43f8da322145065b98d0b7">   54</a></span>    ATVIEW_EXP <span class="keywordtype">size_t</span> <a class="code hl_function" href="../../dc/df1/struct_object_graphics_cmd.html#a6d4eac781d43f8da322145065b98d0b7">GetObjectGraphicsCacheCount</a>(HATObjectCR objHd);</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span> </div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"><a class="line" href="../../dc/df1/struct_object_graphics_cmd.html#a1e0554dd3cea549b968ca7968ebc0a2e">   66</a></span>    ATVIEW_EXP ATShowPathPtr <a class="code hl_function" href="../../dc/df1/struct_object_graphics_cmd.html#a1e0554dd3cea549b968ca7968ebc0a2e">GetATShowPath</a>(IObjectGraphicsPtr&amp; geomPtr);</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span> </div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"><a class="line" href="../../dc/df1/struct_object_graphics_cmd.html#a161b9626b7ba34722a95149015231c6e">   78</a></span>    ATVIEW_EXP <span class="keywordtype">bool</span> <a class="code hl_function" href="../../dc/df1/struct_object_graphics_cmd.html#a161b9626b7ba34722a95149015231c6e">IsFromLocatedComponent</a>(IObjectGraphicsPtr&amp; geomPtr);</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span> </div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"><a class="line" href="../../dc/df1/struct_object_graphics_cmd.html#aaab16038823739be35579240017c3282">   90</a></span>    ATVIEW_EXP ATShowPathPtr <a class="code hl_function" href="../../dc/df1/struct_object_graphics_cmd.html#aaab16038823739be35579240017c3282">GetLocatedComponentPath</a>(HATObjectCR objHd);</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno">   91</span> </div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno">   92</span>    ATVIEW_EXP ISolidCoreEntityPtr TryGetAsBRep(IObjectGraphicsPtr&amp; geomPtr);</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno">   93</span> </div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno">   94</span>    ATVIEW_EXP IBaseSolidPtr TryGetAsPrimitive(IObjectGraphicsPtr&amp; geomPtr);</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno">   95</span> </div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno">   96</span>    ATVIEW_EXP ATBsplineSurfacePtr TryGetAsSurface(IObjectGraphicsPtr&amp; geomPtr);</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno">   97</span> </div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno">   98</span>    ATVIEW_EXP PolyfaceMeshObjectPtr TryGetAsPolyface(IObjectGraphicsPtr&amp; geomPtr);</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno">   99</span> </div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno">  100</span>    ATVIEW_EXP CurveSetPtr TryGetAsCurveSet(IObjectGraphicsPtr&amp; geomPtr);</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno">  101</span> </div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno">  102</span>    ATVIEW_EXP <span class="keyword">virtual</span> <span class="keywordtype">void</span> _DoCollectObjectGraphics(HATObjectCR objHd);</div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno">  103</span>    ATVIEW_EXP <span class="keyword">virtual</span> ATECStatus _OnProcessSolidCoreEntity(ISolidCoreEntityPtr&amp; geomPtr, ATShowPathCR path);</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno">  104</span>    ATVIEW_EXP <span class="keyword">virtual</span> ATECStatus _OnProcessBaseSolid(IBaseSolidPtr&amp; geomPtr, ATShowPathCR path);</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno">  105</span>    ATVIEW_EXP <span class="keyword">virtual</span> ATECStatus _OnProcessBsplineSurface(ATBsplineSurfacePtr&amp; geomPtr, ATShowPathCR path);</div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno">  106</span>    ATVIEW_EXP <span class="keyword">virtual</span> ATECStatus _OnProcessPolyface(PolyfaceMeshObjectPtr&amp; geomPtr, ATShowPathCR path);</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno">  107</span>    ATVIEW_EXP <span class="keyword">virtual</span> ATECStatus _OnProcessCurveSet(CurveSetPtr&amp; geomPtr, ATShowPathCR path);</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno">  108</span>    ATVIEW_EXP <span class="keyword">virtual</span> HEATObjectP _BuildLocateAgenda(HitPathCP path, ATBtnEventCP ev) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno">  109</span> </div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno">  110</span>    ATVIEW_EXP <span class="keyword">virtual</span> <span class="keywordtype">bool</span> _IsObjectValidForOperation(HATObjectCR objHd, HitPathCP path, WStringR cantAcceptReason);</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno">  111</span> </div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno">  112</span>    ATVIEW_EXP <span class="keyword">virtual</span> <span class="keywordtype">bool</span> _OnPostLocate(HitPathCP path, WStringR cantAcceptReason) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno">  113</span> </div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno">  114</span>    ATVIEW_EXP <span class="keyword">virtual</span> <span class="keywordtype">bool</span> _FilterAgendaEntries() <span class="keyword">override</span>;</div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno">  115</span> </div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno">  116</span>    ATVIEW_EXP <span class="keyword">virtual</span> <span class="keywordtype">void</span> _OnCleanup() <span class="keyword">override</span>;</div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno">  117</span> </div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno">  118</span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> CDECL_ATTRIBUTE DummyObjectGraphicsTool1() { <span class="keywordflow">return</span> <span class="keyword">false</span>; }</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno">  119</span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> CDECL_ATTRIBUTE DummyObjectGraphicsTool2() { <span class="keywordflow">return</span> <span class="keyword">false</span>; }</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno">  120</span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> CDECL_ATTRIBUTE DummyObjectGraphicsTool3() { <span class="keywordflow">return</span> <span class="keyword">false</span>; }</div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno">  121</span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> CDECL_ATTRIBUTE DummyObjectGraphicsTool4() { <span class="keywordflow">return</span> <span class="keyword">false</span>; }</div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno">  122</span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> CDECL_ATTRIBUTE DummyObjectGraphicsTool5() { <span class="keywordflow">return</span> <span class="keyword">false</span>; }</div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno">  123</span>};</div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno">  124</span> </div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno">  125</span>END_ATEC_ATDATACORE_NAMESPACE</div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno">  126</span> </div>
<div class="ttc" id="astruct_a_t_object_set_cmd_html"><div class="ttname"><a href="../../dc/df8/struct_a_t_object_set_cmd.html">ATObjectSetCmd</a></div><div class="ttdoc">ATObjectSetCmd类可以用来实现修改命令，简化处理元件。基本操作是从 围栅、选择集合或用户定位中处理一个ObjectSelectSet</div><div class="ttdef"><b>Definition:</b> ATObjectSetCmd.h:52</div></div>
<div class="ttc" id="astruct_object_graphics_cmd_html"><div class="ttname"><a href="../../dc/df1/struct_object_graphics_cmd.html">ObjectGraphicsCmd</a></div><div class="ttdoc">几何图形元件工具</div><div class="ttdef"><b>Definition:</b> LocateSubEntityTool.h:14</div></div>
<div class="ttc" id="astruct_object_graphics_cmd_html_a161b9626b7ba34722a95149015231c6e"><div class="ttname"><a href="../../dc/df1/struct_object_graphics_cmd.html#a161b9626b7ba34722a95149015231c6e">ObjectGraphicsCmd::IsFromLocatedComponent</a></div><div class="ttdeci">ATVIEW_EXP bool IsFromLocatedComponent(IObjectGraphicsPtr &amp;geomPtr)</div><div class="ttdoc">是否来自本地路径</div></div>
<div class="ttc" id="astruct_object_graphics_cmd_html_a1e0554dd3cea549b968ca7968ebc0a2e"><div class="ttname"><a href="../../dc/df1/struct_object_graphics_cmd.html#a1e0554dd3cea549b968ca7968ebc0a2e">ObjectGraphicsCmd::GetATShowPath</a></div><div class="ttdeci">ATVIEW_EXP ATShowPathPtr GetATShowPath(IObjectGraphicsPtr &amp;geomPtr)</div><div class="ttdoc">获取显示路径</div></div>
<div class="ttc" id="astruct_object_graphics_cmd_html_a6d4eac781d43f8da322145065b98d0b7"><div class="ttname"><a href="../../dc/df1/struct_object_graphics_cmd.html#a6d4eac781d43f8da322145065b98d0b7">ObjectGraphicsCmd::GetObjectGraphicsCacheCount</a></div><div class="ttdeci">ATVIEW_EXP size_t GetObjectGraphicsCacheCount(HATObjectCR objHd)</div><div class="ttdoc">获取几何缓存个数</div></div>
<div class="ttc" id="astruct_object_graphics_cmd_html_aa26dfae0aee0a4d430deb489caa75c71"><div class="ttname"><a href="../../dc/df1/struct_object_graphics_cmd.html#aa26dfae0aee0a4d430deb489caa75c71">ObjectGraphicsCmd::GetObjectGraphicsCache</a></div><div class="ttdeci">ATVIEW_EXP ATECStatus GetObjectGraphicsCache(HATObjectCR objHd, xvector&lt; IObjectGraphicsPtr &gt; &amp;geomCache)</div><div class="ttdoc">获取几何缓存数组</div></div>
<div class="ttc" id="astruct_object_graphics_cmd_html_aaab16038823739be35579240017c3282"><div class="ttname"><a href="../../dc/df1/struct_object_graphics_cmd.html#aaab16038823739be35579240017c3282">ObjectGraphicsCmd::GetLocatedComponentPath</a></div><div class="ttdeci">ATVIEW_EXP ATShowPathPtr GetLocatedComponentPath(HATObjectCR objHd)</div><div class="ttdoc">获取位置路径</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>
